<input type="password"
    {foreach $data.attrs as $key => $attr}
    {$key}="{$attr}"
    {/foreach}
>